package com.keste.ojt1.view.task9.syalla.bean;

import oracle.adf.controller.TaskFlowId;

public class Managedbean {
    private String taskFlowId1= "/WEB-INF/com/keste/ojt1/view/task9/syalla/flow/TreeTableTF.xml#TreeTableTF";
  private String taskFlowId2 = "/WEB-INF/com/keste/ojt1/view/task9/syalla/flow/DeptEmpTF.xml#DeptEmpTF";
  private String taskFlowId=taskFlowId1;
    public Managedbean() {
    }

    public TaskFlowId getDynamicTaskFlowId() {
        return TaskFlowId.parse(taskFlowId);
    }

    public String showMasterDetail() {
      taskFlowId=taskFlowId2;
        return null;
    }

    public String showTreeTable() {
      taskFlowId=taskFlowId1;
        return null;
    }
}
